A, B, C = map(int, input().split())
totalScore = A * 0.2 + B * 0.3 + C * 0.5
print(totalScore)